package com.liang.cloud.Fegin;

import com.liang.cloud.Entity.ProductCategory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @author: 余亮亮
 * @description:
 * @create: 2020-03-26 13:02:06
 **/
@FeignClient(value = "cloud-provider-category" )
@Component
public interface CategoryFeign {

    @PostMapping("/category/api/findByCategoryTypeIn")
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
